import Vuex from 'vuex'


const createStore = () => {
    return new Vuex.Store({
        state: {
            subscribe: false
        },
        mutations: {
            set(state) {
                state.subscribe = !state.subscribe
            }
        }
    })
}

export default createStore